<template>
	<view>
		<input type="text" placeholder="请输入..." @input="onInput"/>
	</view>
</template>

<script>
	export default {
		name:"myevent",
		data() {
			return {
				
			};
		},
		props: {
			title: {
				type:String,
				default: "默认标题"
			}
		},
		methods: {
			onInput(e) {
				this.$emit("myinput", e.detail.value);
			}
		}
	}
</script>

<style>

</style>